// @ts-ignore
import { request } from '@/request/request';
import {date} from "@/uni_modules/uv-ui-tools/libs/function/test";


/**
 * 提交售后申请.
 * @param data
 */
export const applyAfterSales = (data: any):Promise<any> => {
    return request({ url: '/mall/rma/applyAfterSales', data, method: 'POST' })
}


/**
 * 获取售后列表.
 * @param data
 */
export const getAfterSalesList = (data: any):Promise<any> => {
    return request({ url: '/mall/rma/afterSalesList', data, method: 'GET' })
}

/**
 * 售后退换货物流信息提交.
 * @param data
 */
export const returnMallLogistics = (data: any):Promise<any> => {
    return request({ url: '/mall/rma/returnLogistics', data, method: 'POST' })
}
